package com.jinxin.platform.cdsmsmgr.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (CdsmsmgrBusinessInfo)实体类
 *
 * @author makejava
 * @since 2023-06-28 09:00:36
 */
public class CdsmsmgrBusinessInfo implements Serializable {
    private static final long serialVersionUID = -24128382959881057L;
    /**
    * 业务模块id
    */
    private Long id;
    /**
    * 业务模块名称
    */
    private String name;
    /**
    * 业务模块类型短信类型0验证码1短信
    */
    private Integer type;
    /**
    * 业务模块说明
    */
    private String explain;
    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;
    /**
    * 添加人员
    */
    private String applyUser;
    /**
    * 是否配置签名0否1是
    */
    private Integer isSetSign;
    /**
    * 是否配置模板0否1是
    */
    private Integer isSetTemplate;
    /**
    * 签名id
    */
    private Long signId;
    /**
    * 模板id
    */
    private Long templateId;
    /**
    * 短信账号类型1阿里云2腾讯
    */
    private Integer accountType;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getApplyUser() {
        return applyUser;
    }

    public void setApplyUser(String applyUser) {
        this.applyUser = applyUser;
    }

    public Integer getIsSetSign() {
        return isSetSign;
    }

    public void setIsSetSign(Integer isSetSign) {
        this.isSetSign = isSetSign;
    }

    public Integer getIsSetTemplate() {
        return isSetTemplate;
    }

    public void setIsSetTemplate(Integer isSetTemplate) {
        this.isSetTemplate = isSetTemplate;
    }

    public Long getSignId() {
        return signId;
    }

    public void setSignId(Long signId) {
        this.signId = signId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Integer getAccountType() {
        return accountType;
    }

    public void setAccountType(Integer accountType) {
        this.accountType = accountType;
    }

}